//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================

#ifndef __ELASTOS_NXP_MPEG4_ENC_H__
#define __ELASTOS_NXP_MPEG4_ENC_H__

#include <ddk.h>
#include "drvassistant.h"
#include "nu_api.h"

class CMPEG4Enc : public CDeviceDriver
{
public:
    CMPEG4Enc() {
    }

    ~CMPEG4Enc() {
    }

    ECode constructor();

    CARAPI Read(
        /* [in] */ Int64 offset,
        /* [in] */ Int32 bytesToRead,
        /* [out] */ MemoryBuf* pBuffer,
        /* [out] */ IEvent** ppCompletionEvent) {
        return E_NOT_IMPLEMENTED;
    }

    CARAPI Write(
        /* [in] */ Int64 offset,
        /* [in] */ const MemoryBuf &buffer,
        /* [out] */ Int32* pBytesWritten,
        /* [out] */ IEvent** ppCompletionEvent) {
        return E_NOT_IMPLEMENTED;
    }

    CARAPI Control(
        /* [in] */ Handle32 controlCode,
        /* [in] */ const MemoryBuf &inBuffer,
        /* [out] */ MemoryBuf* pOutBuffer,
        /* [out] */ IEvent** ppCompletionEvent);

    virtual void Dispose(){}

public :
    bool m_bInit;
};

#endif // __ELASTOS_NXP_MPEG4_ENC_H__
